package org.example.ws.pojo;

import lombok.Data;

/**
 * ClassName: Message
 * Description:
 *用于封装前端发送给服务器的消息数据
 * @Author Kotaro
 * @Create 2025/1/9 8:59
 * @Version 1.0
 */
@Data
public class Message {
    private String toName;
    private String message;

    public Message() {
    }

    public Message(String toName, String message) {
        this.toName = toName;
        this.message = message;
    }
}
